HYPERFLEET-1098 - fix: make go mod tidy and make generate work#163
HYPERFLEET-1098 - fix: make go mod tidy and make generate work#163rh-amarin wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR adds a single file, Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
| //go:build tools | ||
|
|
||
| package hack | ||
|
|
||
| import _ "github.com/openshift-hyperfleet/hyperfleet-api-spec/schemas" |
There was a problem hiding this comment.
This PR places it at hack/tools.go. Was hack/ a deliberate choice? It does seem like a natural fit since the directory already holds build tooling, and it keeps the root directory clean. If hack/ is the preferred location, can you update the ticket acceptance criteria to match?
Summary
When introducing #155 it broke
go mod tidywhich will remove the import of the hyperfleet-api-spec makingmake generateto fail laterThis PR restores the import to satisfy the build tooling